home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 207 / 207.d81 / t.ant wars < prev    next >
Text File  |  2022-08-26  |  5KB  |  158 lines

  1. u
  2.            A N T   W A R S
  3.  
  4.       Program by Knees Calhoon
  5.           and Ron Slaminko
  6.  
  7.         Text by Fender Tucker
  8.  
  9.  
  10.     I'm embarrassed that I have lost
  11. so much of my familiarity with the
  12. Commodore -- the keyboard, the
  13. programming, the joy of having a
  14. program on LOADSTAR. I was recently
  15. quoted in The Wall Street Journal as
  16. saying, "I like being in a rut. I'm
  17. an inertia kinda guy." And it's true!
  18. It took me forever to get out of the
  19. Commodore rut and into the one I'm
  20. in, and now I am finding it hard to
  21. even visit my old rut. Shame on me.
  22.  
  23.     This is a game that I wrote a
  24. long time ago, around 1993, I think.
  25. And it's a good thing; I've forgotten
  26. much of the programming knowledge
  27. that I had back then. It's an ancient
  28. game played by Chinese children with
  29. stones and lines in the dirt. I can't
  30. remember the name of the game but I
  31. got the rules and history from
  32. Scientific American, where it had a
  33. write-up in the Games section.
  34.  
  35.     I added an "ants" metaphor and
  36. made it into a hi-res strategy game
  37. for one player against the computer.
  38. Actually the first version was a game
  39. for two human players -- which as we
  40. all know is easier to program -- and
  41. later tried to add a play-against-
  42. the-computer feature.
  43.  
  44.     I couldn't get it to work. I
  45. needed to write BASIC code that would
  46. recognize when a player's ants were
  47. surrounded, and I couldn't do it. I
  48. had become jaded. I think most
  49. programmers will tell you that in
  50. their early days of programming they
  51. attempted (and sometimes succeeded
  52. in) things they would never even try
  53. in their old age.
  54.  
  55.     But luckily I met Ron Slaminko in
  56. my waning days at LOADSTAR and sent
  57. him the code I had. Within days he
  58. sent me back a working version of the
  59. program. I've since looked at the
  60. code and have no idea how he made it
  61. work. But it seems to recognize when
  62. ants are surrounded and calls the end
  63. of the game correctly, whether it's
  64. the computer (Knees) who wins, or the
  65. human. Or even if it's a tie.
  66.  
  67.     The rules are simple. You and
  68. Knees take turns placing one ant at a
  69. time into the 21 "rooms" of the
  70. anthill. Yours are red and Knees' are
  71. black. If, after an ant is played,
  72. one or more of the opponent's ants
  73. are completely surrounded by his
  74. opponent's ants, the surrounded ants
  75. are removed from the board -- and
  76. from the player's starting supply of
  77. 25 ants. A player [cannot] play into
  78. a spot where he will be surrounded.
  79. Players try to end up with the most
  80. ants. Sooner or later, one player
  81. will win or there will be a tie.
  82.  
  83.     I have developed no strategy for
  84. winning. I'm sure that 95% of all
  85. quarter billion Chinese children can
  86. beat me. I can live with that. Can
  87. you?
  88.  
  89.     This will probably be my last
  90. published program for the Commodore
  91. computer. One of these days I hope to
  92. collect all of the programs I ever
  93. wrote and put them on a CD for future
  94. 8-bit historians. I've still got a
  95. great Commodore system and until my
  96. memory drops another 30% I should be
  97. able to at least move programs around.
  98.  
  99.     As you can see I haven't lost my
  100. uncanny ability to babble and
  101. blather. The inane sentences keep
  102. tumbling out of my fingertips.
  103.  
  104.     By the way, I planned on this
  105. program having a multicolor title
  106. screen and Walt Harned even made one
  107. for it. But I used the picture
  108. (twice!) as title pictures for issues
  109. of LOADSTAR already. Besides, I've
  110. forgotten how to use multi-color pics
  111. to boot BASIC programs -- even though
  112. I seem to remember Jeff Jones writing
  113. a little utility that will create ML
  114. boot programs.
  115.  
  116.     I hope you enjoy this final game
  117. from me. I devoted 14 of the best
  118. years of my life to LOADSTAR and
  119. Commodore and they've repaid me many
  120. times over. You have too. Thank you!
  121.  
  122.  FT
  123.  
  124.  
  125.  [DAVE'S AFTERTHOUGHT:] I was going to
  126. put something else on this side, but
  127. I have just learned how to add multi-
  128. color screens! While I did find the
  129. original "Ant Wars" picture, I
  130. discovered that Fender sent me an even
  131. better graphic.
  132.  
  133.  In a way, it is sad to hear Fender's
  134. "swan song." LOADSTAR [is] Fender
  135. Tucker in so many ways. I have been
  136. going through pre-Tuckerian issues.
  137. They are fine, well done software
  138. collections. But as one moves from
  139. Issue 42 to Issue 100, a subtle change
  140. can be noticed.
  141.  
  142.  Fonts -- for instance. And Toolboxes
  143. (which are Jeff Jones' contribution,
  144. but Fender was at the helm). And don't
  145. forget the Contests! And an aura of
  146. intelligence that encouraged logical
  147. minded people to learn more and do
  148. wonderful things with the C-64.
  149.  
  150.  I have asked Fender to write us some
  151. articles from time to time. It doesn't
  152. [have] to be about our favorite
  153. computers. Anything "slightly out of
  154. kilter" would be enjoyable.
  155.  
  156.  DMM
  157.  
  158.  
  159.